// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
// import Icon from 'vue-svg-icon/Icon';
import ElementUI from 'element-ui';
import axios from 'axios';
import App from './App';
import router from './router';
import filters from "./filters";
Vue.prototype.$http = axios;

// Vue.use(Icon);
Vue.use(ElementUI);
Vue.config.productionTip = false;


for(var k in filters)
  Vue.filter(k,filters[k]);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  filters,
  components: { App },
  template: '<App/>'
})
